From 9f64733e4ac563c0cda3685acf4e1c2cf600319b Mon Sep 17 00:00:00 2001 From: Justin Burkett Date: Sun, 2 Jan 2022 09:33:02 -0500 Subject: [PATCH] Fix typo in ellipsis --- which-key.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/which-key.el b/which-key.el index 870894644db..c13f4af25aa 100644 --- a/which-key.el +++ b/which-key.el @@ -133,9 +133,9 @@ the default is \" : \"." :group 'which-key :type 'string) -(defcustom which-key-elipsis +(defcustom which-key-ellipsis (if which-key-dont-use-unicode ".." "…") - "Elipsis to use when truncating. Default is \"…\", unless + "Ellipsis to use when truncating. Default is \"…\", unless `which-key-dont-use-unicode' is non nil, in which case the default is \"..\"." :group 'which-key @@ -1589,7 +1589,7 @@ If KEY contains any \"special keys\" defined in (defsubst which-key--truncate-description (desc) "Truncate DESC description to `which-key-max-description-length'." (let* ((last-face (get-text-property (1- (length desc)) 'face desc)) - (dots (which-key--propertize which-key-elipsis 'face last-face))) + (dots (which-key--propertize which-key-ellipsis 'face last-face))) (if (and which-key-max-description-length (> (length desc) which-key-max-description-length)) (concat (substring desc 0 which-key-max-description-length) dots) -- 2.30.2